package com.cater.examhelper;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;

public class DatabaseHelper extends SQLiteOpenHelper
{

	private static final String DATABASE_NAME = "question.db";
	private static final int DATABASE_VERSION = 1;

	public DatabaseHelper(Context context, String name, CursorFactory factory, int version)
	{
		super(context, name, factory, version);
	}

	public DatabaseHelper(Context context, String name)
	{
		this(context, name, DATABASE_VERSION);
	}

	public DatabaseHelper(Context context, String name, int version)
	{
		this(context, name, null, version);
	}

	public DatabaseHelper(Context ctx)
	{
		this(ctx, DATABASE_NAME);
	}

	@Override
	public void onCreate(SQLiteDatabase db)
	{
		System.out.println("create a Database");
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldversion, int newversion)
	{
	}

}
